<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>글내용</title>
<style type="text/css">
div{
	width:600px;
	border:1px solid gray;
 	padding: 5px;
}
#title{
font-weight: bold;
}
#info{
font-size: 13px;
}
#content{
min-height:300px; 
height:auto;
}
</style>

 


</head>
<body>

<div id="title">
${sessionScope.fdto.no }.${sessionScope.fdto.title }
</div>
<div id="info">
작성자 : ${sessionScope.fdto.id } | 조회수 : ${ sessionScope.fdto.viewcount} | 작성일시 : ${sessionScope.fdto.writedate}
</div>
<div id="content">
${sessionScope.fdto.content }
</div>
<p>
<c:if test="${sessionScope.next.refamily != null }">
	<tr>
		<td>
				<img src="img/th_prev.gif"/> &nbsp;|| 글번호:${sessionScope.next.refamily }&nbsp;&nbsp;
				<img src="img/th_subject.gif"><a href="getContentByNo.do?&no=${sessionScope.next.refamily }">${sessionScope.next.title }</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		</td>
	</tr>
</c:if>

<c:if test="${sessionScope.prev.refamily != null }">
	<tr>
		<td>
				<img src="img/th_next.gif"/> &nbsp;|| 글번호:${sessionScope.prev.refamily }&nbsp;&nbsp;<img src="img/th_subject.gif"><a href="getContentByNo.do?no=${sessionScope.prev.refamily }">${sessionScope.prev.title }</a>
		</td>
	</tr>
</c:if>

<p>
<a href="/library_system/write_form.jsp">글쓰기</a>
<a href="/library_system/boardList.do?page=${param.page }">글목록(페이징)</a>
<a href="/library_system/boardController?command=modify_form&no=${requestScope.bto.no }">글수정</a>
<a href="/library_system/boardController?command=delete_content&no=${requestScope.bto.no }">글 삭제</a>
<a href="/library_system/boardController?command=reply_form&no=${requestScope.bto.no }">답변</a>
</p>
</body>
</html>














